<?xml version="1.0" encoding="utf-8"?>
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/drawer_layout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true"
    tools:openDrawer="start">

    <include
        layout="@layout/app_bar_movie"
        android:layout_width="match_parent"
        android:layout_height="match_parent" />

    <android.support.design.widget.NavigationView
        android:id="@+id/nav_view"
        android:layout_width="wrap_content"
        android:layout_height="match_parent"
        android:layout_gravity="start"
        android:fitsSystemWindows="true"
        app:headerLayout="@layout/nav_header_default"
        app:menu="@menu/activity_default_drawer">

		<RelativeLayout
			android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:layout_gravity="bottom"
			android:clickable="true">
			<ImageView
				android:id="@+id/TMDbLogo"
				android:layout_width="32dp"
				android:layout_height="32dp"
				android:layout_marginTop="4dp"
				android:layout_marginLeft="8dp"
				android:layout_marginRight="8dp"
				android:src="@drawable/ic_menu_tmdb" />

			<TextView
				android:id="@+id/footer_item"
				android:layout_width="wrap_content"
				android:layout_height="48dp"
				android:layout_alignParentRight="true"
				android:layout_toRightOf="@id/TMDbLogo"
				android:text="@string/text_tmdb_credits" />
		</RelativeLayout>
	</android.support.design.widget.NavigationView>
</android.support.v4.widget.DrawerLayout>
